package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 使用申请对象 ha_durguseplan
 * 
 * @author 鲍小伟
 * @date 2025-11-21
 */
public class HaDurguseplan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long pid;

    /** 申请人 */
    @Excel(name = "申请人")
    private String planUser;

    /** 申请日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date planDate;

    /** 预约药品 */
    @Excel(name = "预约药品")
    private Integer drugId;

    /** 申请数量 */
    @Excel(name = "申请数量")
    private Long drugNum;

    /** 申请总活度 */
    @Excel(name = "申请总活度")
    private String drugVolMbq;

    /** 药品采购类型 */
    @Excel(name = "药品采购类型")
    private String drugBuytype;

    /** 预约使用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "预约使用时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date usageDate;

    /** 预约使用人员 */
    @Excel(name = "预约使用人员")
    private Integer usagePatine;

    /** 申请状态 */
    @Excel(name = "申请状态")
    private String status;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditUser;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;

    /** 审核备注 */
    @Excel(name = "审核备注")
    private String auditRemark;

    @Excel(name = "计划备注")
    private String planRemark;


    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }

    public void setPlanUser(String planUser) 
    {
        this.planUser = planUser;
    }

    public String getPlanUser() 
    {
        return planUser;
    }

    public void setPlanDate(Date planDate) 
    {
        this.planDate = planDate;
    }

    public Date getPlanDate() 
    {
        return planDate;
    }

    public void setDrugId(Integer drugId)
    {
        this.drugId = drugId;
    }

    public Integer getDrugId()
    {
        return drugId;
    }

    public void setDrugNum(Long drugNum) 
    {
        this.drugNum = drugNum;
    }

    public Long getDrugNum() 
    {
        return drugNum;
    }

    public void setDrugVolMbq(String drugVolMbq) 
    {
        this.drugVolMbq = drugVolMbq;
    }

    public String getDrugVolMbq() 
    {
        return drugVolMbq;
    }

    public void setDrugBuytype(String drugBuytype) 
    {
        this.drugBuytype = drugBuytype;
    }

    public String getDrugBuytype() 
    {
        return drugBuytype;
    }

    public void setUsageDate(Date usageDate) 
    {
        this.usageDate = usageDate;
    }

    public Date getUsageDate() 
    {
        return usageDate;
    }

    public void setUsagePatine(Integer usagePatine)
    {
        this.usagePatine = usagePatine;
    }

    public Integer getUsagePatine()
    {
        return usagePatine;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setAuditUser(String auditUser) 
    {
        this.auditUser = auditUser;
    }

    public String getAuditUser() 
    {
        return auditUser;
    }

    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }

    public void setAuditRemark(String auditRemark) 
    {
        this.auditRemark = auditRemark;
    }

    public String getAuditRemark() 
    {
        return auditRemark;
    }

    public void setPlanRemark(String planRemark)
    {
        this.planRemark = planRemark;
    }

    public String getPlanRemark()
    {
        return planRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pid", getPid())
            .append("planUser", getPlanUser())
            .append("planDate", getPlanDate())
            .append("drugId", getDrugId())
            .append("drugNum", getDrugNum())
            .append("drugVolMbq", getDrugVolMbq())
            .append("drugBuytype", getDrugBuytype())
            .append("usageDate", getUsageDate())
            .append("usagePatine", getUsagePatine())
            .append("status", getStatus())
            .append("auditUser", getAuditUser())
            .append("auditTime", getAuditTime())
            .append("auditRemark", getAuditRemark())
            .append("planRemark", getPlanRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
